package com.swagger.wen.bean;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import springfox.documentation.spring.web.json.Json;

/**
 * Created by Think on 2018/6/14.
 */
@Data
public class JsonResult {
    //状态码
    private String status = null;
    //提示信息
    private String msg = null;
    //自定义结果集
    private Object result = null;

    public JsonResult(){}

    public JsonResult(String status,String msg,Object result){
        this.status = status;
        this.msg = msg;
        this.result = result;
    }
}
